The Dreamweaver JavaScript API > Selection functions > site.locateInSite()

 

site.locateInSite()

Availability

Dreamweaver 3.0

Description

Locates the specified file or files in the specified pane of the Site window, and selects the found files.

Arguments

localOrRemote, siteOrURL

localOrRemote must be either "local" or "remote".
siteOrURL must be the keyword "site", indicating that the function should act on the selection in the Site window or on the URL for a single file.

Returns

Nothing.

Enabler

site.canLocateInSite()